﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
using System.Text;
using System.IO;
using System.Configuration;

namespace TestClient
{
    public partial class CallGetMethodFeedback : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnTest_Click(object sender, EventArgs e)
        {
            string input = txtfeedback.Text;
            ServiceReference2.Service1Client sc = new ServiceReference2.Service1Client();
            Stream str = sc.getFeedBack(input); 
            StreamReader reader = new StreamReader(str);
            string text = reader.ReadToEnd();
            lblResponse.Text = text;
           
        }
    }
}
    
